.cm-collapase {
    height: 0;
    transform-origin: top center;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}